home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
TECHNICA
/
AUTOCAD
/
3078B.ZIP
/
PGRUN991.ZIP
/
PATCH10.LSP
< prev
next >
Wrap
Lisp/Scheme
|
1991-08-29
|
2KB
|
71 lines
;***************************************************/
;% ParaDraft - Source code (c) ALL RIGHTS RESERVED
;% Copyright 1991 (c) ParaWare Systems, India
;%
;%
;% PGINIT file for AutoCAD Release 10
;%
;***************************************************/
; Add the complete file without modifications into ACAD.LSP
; for loading it automatically
(setq *pgpg-shell* "PGSHELL")
(setq *pgpg-10* T)
(defun c:pgpg()
(load (strcat *pgpg-dir* "pgpg"))
)
(defun c:pgrun()
(Setq *pgpg-demo* nil
*pgpg-expert* nil
*pgpg-calmode* nil)
(load (strcat *pgpg-dir* "pgrun"))
(load (strcat *pgpg-dir* "pgcustom"))
)
(defun c:pgdemo()
(Setq *pgpg-demo* T
*pgpg-expert* T
*pgpg-calmode* "CALC")
(load (strcat *pgpg-dir* "pgrun"))
)
;
(setq *pg-menu* (strcase (getvar "MENUNAME")))
(defun c:pgmenu( / mnu pg-mnu)
(setq mnu (strcase (getvar "MENUNAME")))
(setq pg-mnu (strcase (strcat *pgpg-dir* "pgmenu")))
(if (= mnu pg-mnu)
(princ "\nParaDraft menu is already loaded")
(progn
(setq *pg-menu* mnu)
(command ".MENU" pg-mnu)
(if c:pgpgset (menucmd "P2=P2b"))
(if *pgpg-demo* (menucmd "P7=P7b"))
)
)
(princ)
)
(defun slide-show( slides / slide )
(Setvar "cmdecho" 0)
(princ "ParaDraft information follows..")
(Foreach slide slides
(command "vslide" (strcat *pgpg-dir* "pgdraft(" (car slide) ")"))
(command "delay" (* 1000 (Cadr slide)))
)
(getpoint "\nPress return to continue...")
(command "redraw")
(princ "\nThank you for your attention.")
(princ "\nFor more information take a printout of MANUAL file : ")
(princ (strcase *pgpg-dir*))(princ"PGDRAFT.DOC")
(princ)
)
(command "vslide" (strcat *pgpg-dir* "pgdraft(welcome)"))
(command "menu" (strcat *pgpg-dir* "pgmenu"))
(princ)
; END OF PGINIT file for AutoCAD Release 10